import { uniFetch } from '../../apis/uni-fetch'


export const getUserInfo = () => {   // 获取用户信息
  return uniFetch({
    url: '/driver/users'
  })
}

export const getUsersTaskReport = (data) =>{ // 获取任务数据
  return uniFetch({
    url: '/driver/users/taskReport',
    data
  })
}

export const getUsersTruck = () =>{ // 获取车辆信息
  return uniFetch({
    url: '/driver/users/truck'
  })
}
